package com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/***
 *
 * 车辆信息实体
 */
public class DriverInfo implements Serializable {
    private String driverId;
    // 驾驶员姓名
    private String driverName;
    // 驾驶员id
    private String employeeId;
    // 所属组织
    private String orgId;
    // 驾驶员联系电话
    private String tel;
    // 驾驶员驾照文件
    private String driverLicensePath;
    // 驾照有效截止期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date licenseExpireTime;
    // 状态
    private Short status;
    // 创建人
    private String creatorId;
    // 创建时间
    private Date createTime;
    // 备注
    private String description;
    // 填充字段
    private String orgName;
    // 创建人名字
    private String creatorName;

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId == null ? null : driverId.trim();
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName == null ? null : driverName.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getDriverLicensePath() {
        return driverLicensePath;
    }

    public void setDriverLicensePath(String driverLicensePath) {
        this.driverLicensePath = driverLicensePath == null ? null : driverLicensePath.trim();
    }

    public Date getLicenseExpireTime() {
        return licenseExpireTime;
    }

    public void setLicenseExpireTime(Date licenseExpireTime) {
        this.licenseExpireTime = licenseExpireTime;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getEmployeeId()
    {
        return employeeId;
    }

    public void setEmployeeId(String employeeId)
    {
        this.employeeId = employeeId;
    }
}